package com.zjw.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zjw.common.handler.AESEncryptHandler;
import com.zjw.common.handler.Encrypt;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:0xOO
 * @Date: 2018/9/26 0026
 * @Time: 14:39
 */
//@TableName(value = "User",autoResultMap = true)
    @AllArgsConstructor
    @NoArgsConstructor
    @Data
public class User {
    private Integer id;

    //@TableField("userName")
    private String userName;

    //@TableField(value = "passWord",typeHandler = AESEncryptHandler.class)
    private String passWord;

    //@TableField("realName")
    private String realName;
}
